package com.sz.test.pojo;

import lombok.Data;

@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    //权限值，0为游客，1为用户，2为管理员
    private int role;

    public User(Integer id, String username, String password, int role) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.role = role;
    }
}
